package com.gfeeling.utils;

import java.io.IOException;
import java.util.Properties;

public class PropertyMgr {

	private static Properties properties = new Properties();
	private PropertyMgr() {
	}
	static {
		try {
			properties.load(PropertyMgr.class.getClassLoader()
					.getResourceAsStream("config.properties"));
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

	public static String getProperty(String name) {
		return properties.getProperty(name);
	}
}